package com.victor.service;

import java.util.List;
import java.util.Map;

import com.victor.entity.Comments;

public interface CommentsService {
    boolean batchDelete(int[] ids);

    boolean insertComments(Comments record);

    Comments findById(Integer cId);

    boolean update(Comments record);

    List<Map<String,String>> findByPid(Integer id);

    List<Comments> findByUserIdAndPid(String cUserid, String cPid);
}